]> dgit.raspbian.org Git - gnome-shell.git/commit
switcherPopup: Ignore implicit enter events when the popup is mapped
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 28 Feb 2017 12:35:57 +0000 (13:35 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 23 May 2017 16:38:35 +0000 (18:38 +0200)
commite94de67bd22626839fe4c4cb1bcc84e3b1dbe856
tree71641eec2a9dce42431f160ec62e4d2b5ed46871
parent817ff52414d18eb11cb97141c594e79d3e0c0512
switcherPopup: Ignore implicit enter events when the popup is mapped

If the popup happens to be mapped beneath the pointer, mutter will now
emit an implicit enter notify event (i.e. not caused by pointer motion).
In this case the switcherPopup still goes and selects the item, which
results in too sensitive alt-tab menus if the pointer happens to be in
the wrong place.

Make highlighting rely on motion events instead, so it always involves
user interaction when triggered by the pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=755164
js/ui/switcherPopup.js